{layout name="layout" /}
<style type="text/css">
    .show_grid {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ccc;
    }
</style>

        <section class="tm-section">
            <div class="container-fluid">
                <div class="row">

                    {volist name="data.title_list" id="v" key="k"}
                    <div class="col-xs-12 col-sm-6 col-md-6 col-lg-3 col-xl-3">

                        <div class="tm-content-box">
                            <img src="{$v.title_img}" alt="Image" class="tm-margin-b-20 img-fluid">
                            <h4 class="tm-margin-b-20 tm-gold-text"><?php if(isset($v['title']{39})) {echo msubstr($v['title'],0,11);}else{ echo $v['title'];} ?> #{$k}</h4>
                            <p class="tm-margin-b-20">{$v.summary}</p>
                            <a href="#" class="tm-btn text-uppercase">阅读</a>
                        </div>

                    </div>
                    {/volist}

                </div> <!-- row -->


                <div id="container" class="row tm-margin-t-big col-xs-12 col-sm-12 col-md-12 col-lg-6 col-xl-6">
                    {volist name="data.list" id="v"}
                    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 show_grid">
                        <div class="tm-2-col-left">

                            <h3 class="tm-gold-text tm-title">{$v.title}</h3>
                            <p class="tm-margin-b-30"><?php if(isset($v['summary']{110})) {echo msubstr($v['summary'],0,35);}else{ echo $v['summary'];} ?></p>
                            {if $v.big_img}
                            <img src="{$v.big_img}" alt="Image" class="tm-margin-b-40 img-fluid">
                            {/if}
                            <?php echo msubstr($v['content'],0,500); ?>
                            <p class="m-b-2"> </p>
                            <a href="#" class="tm-btn text-uppercase">阅读全文</a>
                        </div>
                    </div>
                    {/volist}
                </div> <!-- row -->
                {//$data.list->render()}
                <div class="row tm-margin-t-big">
                    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-6 col-xl-6">

                        <div class="tm-2-col-right">

                            <div class="tm-2-rows-md-swap">
                                <div class="tm-overflow-auto row tm-2-rows-md-down-2">
                                    <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
                                        <h3 class="tm-gold-text tm-title">
                                            Categories
                                        </h3>
                                        <nav>
                                            <ul class="nav">
                                                <li><a href="#" class="tm-text-link">Tincidunt non faucibus placerat</a></li>
                                                <li><a href="#" class="tm-text-link">Vestibulum tempor ac lectus</a></li>
                                                <li><a href="#" class="tm-text-link">Fusce non turpis euismod</a></li>
                                                <li><a href="#" class="tm-text-link">Nam in augue consectetur</a></li>
                                                <li><a href="#" class="tm-text-link">Text Link Color #006699</a></li>
                                            </ul>
                                        </nav>
                                    </div> <!-- col -->

                                    <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-xl-6 tm-xs-m-t">
                                        <h3 class="tm-gold-text tm-title">
                                            Useful Links
                                        </h3>
                                        <nav>
                                            <ul class="nav">
                                                <li><a href="#" class="tm-text-link">Suspendisse sed dui nulla</a></li>
                                                <li><a href="#" class="tm-text-link">Lorem ipsum dolor sit</a></li>
                                                <li><a href="#" class="tm-text-link">Duiss nec purus et eros</a></li>
                                                <li><a href="#" class="tm-text-link">Etiam pulvinar et ligula sed</a></li>
                                                <li><a href="#" class="tm-text-link">Proin egestas eu felis et iaculis</a></li>
                                            </ul>
                                        </nav>
                                    </div> <!-- col -->
                                </div>

                                <div class="row tm-2-rows-md-down-1 tm-margin-t-mid">
                                    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
                                        <h3 class="tm-gold-text tm-title tm-margin-b-30">Related Posts</h3>
                                        <div class="media tm-related-post">
                                            <div class="media-left media-middle">
                                                <a href="#">
                                                    <img class="media-object" src="index_style/img/tm-img-240x120-1.jpg" alt="Generic placeholder image">
                                                </a>
                                            </div>
                                            <div class="media-body">
                                                <a href="#"><h4 class="media-heading tm-gold-text tm-margin-b-15">Lorem ipsum dolor</h4></a>
                                                <p class="tm-small-font tm-media-description">Aenean cursus tellus mauris, quis consequat mauris dapibus id. Donec scelerisque porttitor pharetra.</p>
                                            </div>
                                        </div>
                                        <div class="media tm-related-post">
                                            <div class="media-left media-middle">
                                                <a href="#">
                                                    <img class="media-object" src="index_style/img/tm-img-240x120-2.jpg" alt="Generic placeholder image">
                                                </a>
                                            </div>
                                            <div class="media-body">
                                                <a href="#"><h4 class="media-heading tm-gold-text tm-margin-b-15">Lorem ipsum dolor</h4></a>
                                                <p class="tm-small-font tm-media-description">Aenean cursus tellus mauris, quis consequat mauris dapibus id. Donec scelerisque porttitor pharetra.</p>
                                            </div>
                                        </div>
                                        <div class="media tm-related-post">
                                            <div class="media-left media-middle">
                                                <a href="#">
                                                    <img class="media-object" src="index_style/img/tm-img-240x120-3.jpg" alt="Generic placeholder image">
                                                </a>
                                            </div>
                                            <div class="media-body">
                                                <a href="#"><h4 class="media-heading tm-gold-text tm-margin-b-15">Lorem ipsum dolor</h4></a>
                                                <p class="tm-small-font tm-media-description">Aenean cursus tellus mauris, quis consequat mauris dapibus id. Donec scelerisque porttitor pharetra.</p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </div>

                    </div>
                </div>
                <div class="row">
                    {$data.list->render()}
                </div>
            </div>
        </section>
